import {BaseNode, type BaseNodeParams} from "@/pages/canvas/package/node/baseNode";
import {extend} from "@dcloudio/uni-app";


export interface textNodeParam extends BaseNodeParams{
    text: string;
}

export class ControllerNode extends BaseNode {

    constructor(param: textNodeParam) {
        const {text, ...rst} = param;
        super({...rst, type: 'text'});
        this._text = text ;
    }

}
